﻿using System.Collections.Generic;

namespace Jay.Sc2.Bof.Lib.State
{
	public class Goal : List<IState>, IGoal
	{
		public double MaximumScore
		{
			get 
			{
				double total = 0.0;
				foreach (IState state in this)
					total += state.Score(state);
				return total;
			}
		}
	}
}
